﻿#include "dialog_handheld_command.h"
#include "ui_dialog_handheld_command.h"

#include <QAction>

#if _MSC_VER >= 1600
#pragma execution_character_set("utf-8")
#endif


DialogCommand::DialogCommand(QWidget* parent)
	: QDialog(parent)
	, ui(new Ui::DialogCommand)
{
	ui->setupUi(this);

	for (int i = 0; i < 156; i++)
		ui->comboBox_ID->addItem(QString::number(i));

	//ui->toolButton->addAction(new QAction("bbbbb"));
	//ui->toolButton->addAction(new QAction("ccccc"));
	//ui->toolButton->addAction(new QAction("ddddd"));
	//ui->toolButton->addAction(new QAction("eeeee"));
	//ui->toolButton->addAction(new QAction("fffff"));
}

DialogCommand::~DialogCommand()
{
	delete ui;
}

void DialogCommand::on_button_send_clicked()
{
	accept();
}


void DialogCommand::on_button_cancel_clicked()
{
	reject();
}

